﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true"
    CodeBehind="SettingProductDetail.aspx.cs" Inherits="TamTreSoSinh.Admin.SettingProductDetail" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <b>Sản phẩm</b>
    <form id="Form1" runat="server">
    <table style="width: 100%">
        <tr>
            <td>
                Danh mục Shopping
            </td>
            <td>
                <asp:DropDownList runat="server" ID="ddlServiceCategory" />
            </td>
        </tr>
        <tr>
            <td>
                Thứ tự
            </td>
            <td>
                <asp:TextBox runat="server" ID="txtPriority" />
                <asp:RangeValidator ID="RangeValidator1" runat="server" ControlToValidate="txtPriority"
                    ErrorMessage="Số thứ tự không hợp lệ" ForeColor="#CC0000" MaximumValue="10000"
                    MinimumValue="1" Type="Integer"></asp:RangeValidator>
            </td>
        </tr>
        <tr>
            <td>
                Tên sản phẩm
            </td>
            <td>
                <asp:TextBox runat="server" ID="txtTitle" Width="403px" />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtTitle"
                    ErrorMessage="Chưa nhập tên sản phẩm" ForeColor="#CC0000"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td valign="top">
                Tóm tắt
            </td>
            <td>
                <asp:TextBox ID="txtOverview" runat="server" Height="200px" TextMode="MultiLine"
                    Width="100%"></asp:TextBox>
                <br />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtOverview"
                    ErrorMessage="Chưa nhập tóm tắt" ForeColor="#CC0000"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td valign="top">
                Nội dung
            </td>
            <td>
                <asp:TextBox ID="txtContent" runat="server" Height="200px" TextMode="MultiLine" Width="100%"
                    CssClass="ckeditor"></asp:TextBox>
                <br />
            </td>
        </tr>
        <tr>
            <td valign="top">
                Ảnh
            </td>
            <td>
                <asp:TextBox runat="server" ID="txtImage" Width="403px" />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtImage"
                    ErrorMessage="Chưa nhập link ảnh" ForeColor="#CC0000"></asp:RequiredFieldValidator>
                <br />
                Kích thước: 400 x 400</td>
        </tr>
        <tr>
            <td>
                Giá cũ
            </td>
            <td>
                <asp:TextBox runat="server" ID="txtOldPrice" Width="403px" />
            </td>
        </tr>
        <tr>
            <td>
                Giá mới
            </td>
            <td>
                <asp:TextBox runat="server" ID="txtCurrentPrice" Width="403px" />
            </td>
        </tr>
        <tr>
            <td>
                Đánh giá
            </td>
            <td>
                <asp:DropDownList runat="server" ID="ddlRate">
                    <asp:ListItem>1</asp:ListItem>
                    <asp:ListItem>2</asp:ListItem>
                    <asp:ListItem>3</asp:ListItem>
                    <asp:ListItem>4</asp:ListItem>
                    <asp:ListItem>5</asp:ListItem>
                </asp:DropDownList> sao
            </td>
        </tr>
        <tr>
            <td>
                Hiển thị trên trang chủ
            </td>
            <td>
                <asp:DropDownList runat="server" ID="ddlIsOnHomePage">
                    <asp:ListItem>True</asp:ListItem>
                    <asp:ListItem>False</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
                Hiển thị lên đầu danh mục
            </td>
            <td>
                <asp:DropDownList runat="server" ID="ddlIsOnCategory">
                    <asp:ListItem>True</asp:ListItem>
                    <asp:ListItem>False</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
                Có sẵn
            </td>
            <td>
                <asp:DropDownList runat="server" ID="ddlIsOnStock">
                    <asp:ListItem>True</asp:ListItem>
                    <asp:ListItem>False</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
                Sản phẩm bán chạy
            </td>
            <td>
                <asp:DropDownList runat="server" ID="ddlIsHot">
                    <asp:ListItem>True</asp:ListItem>
                    <asp:ListItem>False</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Button runat="server" ID="btnSave" Text="Save" OnClick="btnSave_Click" />
            </td>
            <td>
            </td>
        </tr>
    </table>
    </form>
    <script type="text/javascript" src="/Admin/CKEditor/ckeditor.js"></script>
</asp:Content>
